package com.sevens.service;

import java.util.List;

import com.sevens.vo.Role;
import com.sevens.vo.Rolepermission;

public interface RoleService {

	public boolean saveRole(Role role);

	public List<Role> queryRole(Role role);

	public List<Role> queryAllRole();

	public Role queryRoleById(int roleId);

	public boolean editRole(Role role);

	public boolean deleteRoleById(int roleId);
	
	public boolean deleteRole(Role role);
	public String queryPermission(int roleId);
	public String updatePermission(Rolepermission rolepermission);
}
